package com.zzh.rabbit.tb;


import android.os.Bundle;

import com.zzh.rabbit.databinding.ActToolbarBinding;
import com.zzh.rabbit.demo.base.BaseActivity;
import com.zzh.rabbit.tb.vm.ToolbarViewModel;

/**
 * Created by zzh on 2023/11/27.
 *
 * @date: 2023/11/27 21:22
 * @email: zzh_hz@126.com
 * @author: zzh
 * @description: com.zzh.rabbit.tb
 */
public class ToolbarActivity extends BaseActivity<ToolbarViewModel, ActToolbarBinding> {
    @Override
    protected void initViewAndData(Bundle savedInstanceState) {
        super.initViewAndData(savedInstanceState);

        setSupportActionBar(bind.toolbar);
        getSupportActionBar().setTitle("");
        viewModel.toolbarCenterTitleText.set("标题三");


    }
}
